From da834703b5eeb8b5782b344a65edf0a251c25056 Mon Sep 17 00:00:00 2001 From: Ian Campbell Date: Tue, 5 Feb 2013 11:46:12 +0000 Subject: [PATCH] xen: arm: fix build of hvm.c Add include of xsm/xsm.h to fix: hvm.c: In function 'do_hvm_op': hvm.c:37:9: error: implicit declaration of function 'xsm_hvm_param' [-Werror=implicit-function-declaration] hvm.c:37:9: error: nested extern declaration of 'xsm_hvm_param' [-Werror=nested-externs] hvm.c:37:28: error: 'XSM_TARGET' undeclared (first use in this function) hvm.c:37:28: note: each undeclared identifier is reported only once for each function it appears in cc1: all warnings being treated as errors Signed-off-by: Ian Campbell Acked-by: Stefano Stabellini Committed-by: Ian Campbell --- xen/arch/arm/hvm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/arch/arm/hvm.c b/xen/arch/arm/hvm.c index 63ac793250..471c4cd9dd 100644 --- a/xen/arch/arm/hvm.c +++ b/xen/arch/arm/hvm.c @@ -5,6 +5,8 @@ #include #include +#include + #include #include #include -- 2.30.2